package com.openbravo.bean.shard;

import java.util.Date;


public class AddressEntity implements I_AddressEntity{
    /**
	 * 
	 */
	private static final long serialVersionUID = -5089403272444690051L;
	private String id;
    private String phone2;
	private String fax;
	private String address;
	private String address2;
	private String postal;
	private String city;
	private String region;
	private String country;
	private Date lastModified;

	public String getPhone2() {
        return phone2;
    }

    public void setPhone2(String phone2) {
        this.phone2 = phone2;
    }

    public String getFax() {
        return fax;
    }

    public void setFax(String fax) {
        this.fax = fax;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getAddress2() {
        return address2;
    }

    public void setAddress2(String address2) {
        this.address2 = address2;
    }

    public String getPostal() {
        return postal;
    }

    public void setPostal(String postal) {
        this.postal = postal;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getRegion() {
        return region;
    }

    public void setRegion(String region) {
        this.region = region;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }
    
    public Date getLastModified() {
        return lastModified;
    }
    
    public void setKey(String key) {
        id=key;
    }

    public void setLastModified(Date lastModified) {
        this.lastModified = lastModified;
    }

	@Override
	public String getKey() {
		return id;
	}
}
